Introduction to Bioinformatics - Module 2
mkdir <name of new folder>
No blanks in folder names!
rmdir <name of directory>
cp <name of original> <name of copy>
cp <name of original> <name of copy>
Never use blanks in your folder/file names!
cp <name of original> <name of copy>
cp copied_file analysis/
cp <name of original> <name of copy>
cd analysis/
cp copied_file ../data/raw_data
Linux never asks before overwriting existing files!
mv <name of the file> <name of the “copy”>
mv ../copied_file .
Notice! the . denotes the current location
mv <name of the file> <name of the “copy”>
mv copied_file my_renamed_file
rm <name of the file>
rm copied_file
rm <name of the file>
rm ../original_file
rm <name of the file>
There is NO trash bin in CLI! Gone is gone!
ls -l *.txt
cp *.txt myfolder/
rm *.txt